{% assign current = 'Swift 5.1 (Xcode 11.3.1)' %}

{% for version in site.data.versions %}

{% if page.url contains version.path %}
{% capture current %}
{{ version.name }} ({{ version.note }})
{% endcapture %}
{% endif %}
{% endfor %}

<!DOCTYPE html>
<html>
  {% include head.html %}
  <body class="{{ page.dir | replace: '/', ' p-' | replace_first: ' ', '' }}">
    <div id="wrapper">
      {% include header.html %}

      <div class="container">
        <div class="row">
          <div class="col-sm-4 col-md-3" id="sidebar">
            <div id="fixed-sidebar" data-spy="">
              {% if page.isdoc %}
              <div class="form-group">
                <div class="input-group has-feedback" id="select-container">
                  <input type="hidden" class="form-control select2" />
                  <span
                    class="glyphicon glyphicon-search form-control-feedback"
                  ></span>
                </div>
              </div>
              {% endif %} {% include sidebar.html %}
            </div>
          </div>

          <div class="col-sm-8 col-md-9" id="content">
            {{ content }}
          </div>
          <!-- content -->
        </div>
        <!-- row -->
      </div>
      <!-- cont -->
      <div class="push"></div>
    </div>
    <!-- wrapper -->

    {% include footer.html %}
  </body>
</html>
